<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" session="false" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>stat</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/css/font-awesome.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/css/waybook.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/css/icon.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/css/custom.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/datepicker/datepicker.css" />
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/jquery.ui.core.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/jquery.ui.effect.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/common.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/toolkit.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/validate.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/datepicker/datepicker.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/stat.js"></script>
</head>
<body>
<table id="stat_table"
	data-options="border:false, rownumbers:true, fit:true, fitColumns:true, loadMsg:'正在加载...', 
		pagination:true, pagePosition:'top', sortName:'addTime', sortOrder:'desc'">
	<thead>
		<tr>
			<th data-options="field:'itemId', hidden:true">itemId</th>
            <th data-options="field:'p1'">所属公司</th>
            <th data-options="field:'p2'">所属广告</th>
            <th data-options="field:'p3', align:'center'">统计类型</th>
            <th data-options="field:'p4', align:'right'">停留时长</th>
            <th data-options="field:'p5', align:'right'">浏览次数</th>
            <th data-options="field:'p6', align:'right'">点击次数</th>
            <th data-options="field:'addTime', align:'center', sortable:true">添加时间</th>
		</tr>
	</thead>
</table> 

<div id="stat_div_search" class="easyui-window" title="搜索" style="width:380px;height:250px;padding:5px;" 
	data-options="iconCls:'icon-search',modal:true,top:0,collapsible:false,minimizable:false,maximizable:false,closed:true">
	<div class="easyui-layout" data-options="fit:true,border:false">
        <div class="div_window_content" data-options="region:'center',border:false">
            <div class="line"><label>所属公司</label>
				<input id="ipt_stat_search_company" class="easyui-textbox" style="width: 272px;"/></div>
            <div class="line"><label>所属广告</label>
				<input id="ipt_stat_search_ad" class="easyui-textbox" style="width: 272px;"/></div>
			<div class="line"><label>统计类型</label>
				<input id="ipt_stat_search_type" class="easyui-combobox" data-options="valueField:'value',textField:'text'"/></div>
			<div class="line"><label>添加时间</label>
				<input id="ipt_stat_search_begin" class="textbox" readonly="readonly" style="width: 132px;" />
				<input id="ipt_stat_search_end" class="textbox" readonly="readonly" style="width: 132px;" /></div>
        </div>
        <div class="div_window_foot" data-options="region:'south',border:false">
            <a class="easyui-linkbutton" data-options="iconCls:'icon-reset'" onclick="jsStat.resetSearch();" style="width:80px">重置</a>
            <a class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="jsStat.getPage(1, 20);" style="width:80px">搜索</a>
        </div>
    </div>
</div>

<script type="text/javascript">
var jsStat = new JS_STAT();
jsStat.init();
jsStat.getPage(1, 20);
</script>

</body>
</html>



